#include <stdio.h>

//! get average
double getAverage(double* arr, int count)
{
	double sum = 0;
	for (int index = 0; index < count; index++)
	{
		sum += arr[index];
	}
	return (sum * 1.000000)/count;
}

//! get COV
double getCOV(double* xArray, double xAve, double* yArray, double yAve, int count)
{
	double sum = 0;
	for (int index = 0; index < count; index++)
	{
		sum += (xArray[index] - xAve)*(yArray[index] - yAve);
	}
	sum = sum / (count - 1);
	return sum;
}

int main()
{

	return 0;
}